package com.ig.amazon.service;

import java.util.List;

import com.amazonaws.a2s.model.Item;
import com.amazonaws.a2s.model.Items;
import com.ig.model.Search;

public interface AmazonService {
	/**
	 * Retrieves Item from Amazon
	 * 
	 * @param productType
	 * @param ean
	 * @return
	 * @throws Exception
	 */
	public Item retrieveProductFromAmazonECS(final String productType,
			final String ean) throws Exception;

	/**
	 * retrieves Products From Amazon
	 * 
	 * @param productType
	 * @param minPrice
	 * @param maxPrice
	 * @return
	 * @throws Exception
	 */
	public List<Items> retrieveProductsFromAmazon(Search searchCriteria)
			throws Exception;
}
